package com.example.ass7;

/**
 * @author Meirav Ben Izhak
 */
public class ScoreInfo {
    private final String name;
    private final int score;

    /**
     * @param name
     *            name
     * @param score
     *            score
     */
    public ScoreInfo(
        String name, int score) {
        this.name = name;
        this.score = score;
    }

    /**
     * @return String
     */
    public String getName() {
        return this.name;
    }

    /**
     * @return int
     */
    public int getScore() {
        return this.score;
    }
}